<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Nfc Interactor: NdefNfcSocialRecord Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="nfcinteractor80.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Nfc Interactor
   &#160;<span id="projectnumber">2.1.0</span>
   </div>
   <div id="projectbrief">Shows all information about NFC tags available through Qt Mobility APIs. Includes reusable convenience classes for handling additional tag types: Smart Poster, Image and vCard.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">NdefNfcSocialRecord Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="NdefNfcSocialRecord" --><!-- doxytag: inherits="NdefNfcSmartUriRecord" -->
<p>Link to one of the supported social networks by simply selecting the network and specifying the username.  
 <a href="class_ndef_nfc_social_record.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ndefnfcsocialrecord_8h_source.html">ndefnfcsocialrecord.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for NdefNfcSocialRecord:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_ndef_nfc_social_record.png" usemap="#NdefNfcSocialRecord_map" alt=""/>
  <map id="NdefNfcSocialRecord_map" name="NdefNfcSocialRecord_map">
<area href="class_ndef_nfc_smart_uri_record.html" title="Smart class that uses the smallest possible NDEF record type for storing the requested information - ..." alt="NdefNfcSmartUriRecord" shape="rect" coords="0,56,148,80"/>
<area href="class_ndef_nfc_sp_record.html" title="Handles the Smart Poster meta-record and is able to both parse and assemble a smart poster according ..." alt="NdefNfcSpRecord" shape="rect" coords="0,0,148,24"/>
</map>
 </div></div>

<p><a href="class_ndef_nfc_social_record-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> { <br/>
&#160;&#160;<b>Twitter</b> =  0, 
<b>LinkedIn</b>, 
<b>Facebook</b>, 
<b>Xing</b>, 
<br/>
&#160;&#160;<b>VKontakte</b>, 
<b>Foursquare</b>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#a12e43563ffc8985f6f6dcbf08c5aa84f">NdefNfcSocialRecord</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty Social record.  <a href="#a12e43563ffc8985f6f6dcbf08c5aa84f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae16b8a601c079852aba2d5b1210d6d2a"></a><!-- doxytag: member="NdefNfcSocialRecord::socialUserName" ref="ae16b8a601c079852aba2d5b1210d6d2a" args="() const " -->
QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#ae16b8a601c079852aba2d5b1210d6d2a">socialUserName</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the user name / id of the social network. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afba6f65354510c374a7d9c0b61e62d67"></a><!-- doxytag: member="NdefNfcSocialRecord::setSocialUserName" ref="afba6f65354510c374a7d9c0b61e62d67" args="(const QString &amp;socialUserName)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#afba6f65354510c374a7d9c0b61e62d67">setSocialUserName</a> (const QString &amp;socialUserName)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the user name / id for the social network. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d36a49271b05eb4ab5d354409ef6974"></a><!-- doxytag: member="NdefNfcSocialRecord::socialType" ref="a9d36a49271b05eb4ab5d354409ef6974" args="() const " -->
<a class="el" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#a9d36a49271b05eb4ab5d354409ef6974">socialType</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the social network this class will create a link to. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc890497bc5392621cc58e70b496a093"></a><!-- doxytag: member="NdefNfcSocialRecord::setSocialType" ref="afc890497bc5392621cc58e70b496a093" args="(const NfcSocialType socialType)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ndef_nfc_social_record.html#afc890497bc5392621cc58e70b496a093">setSocialType</a> (const <a class="el" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NfcSocialType</a> socialType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the social network this class will create a link to. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Link to one of the supported social networks by simply selecting the network and specifying the username. </p>
<p>Touching a tag written with this record type will take the user to the social network web site, where he can then for example start following you on Twitter.</p>
<p>As this class is based on the Smart URI base class, the payload is formatted as a URI record initially. When first adding Smart Poster information (like a title), the payload instantly transforms into a Smart Poster.</p>
<dl class="version"><dt><b>Version:</b></dt><dd>1.1.0 </dd></dl>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a677a99bcb017c2f0a942f0158fd039f3"></a><!-- doxytag: member="NdefNfcSocialRecord::NfcSocialType" ref="a677a99bcb017c2f0a942f0158fd039f3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_ndef_nfc_social_record.html#a677a99bcb017c2f0a942f0158fd039f3">NdefNfcSocialRecord::NfcSocialType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Social network this class will create a link to. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a12e43563ffc8985f6f6dcbf08c5aa84f"></a><!-- doxytag: member="NdefNfcSocialRecord::NdefNfcSocialRecord" ref="a12e43563ffc8985f6f6dcbf08c5aa84f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NdefNfcSocialRecord::NdefNfcSocialRecord </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create an empty Social record. </p>
<p>Default social network is Twitter. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ndefnfcsocialrecord_8h_source.html">ndefnfcsocialrecord.h</a></li>
<li>ndefnfcsocialrecord.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Properties</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 12 2012 13:32:49 for Nfc Interactor by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
